
<!--
  /**************************************************
  * @ ordersubmitfornonflat.jsp
  *
  * Copyright   2006 Hitrust Technology Inc.
  * Developed by SDC, Hitrust.
  * All Rights Reserved.
  *
  * Modify History:
  *  v1.00, 2006/03/20, Jenny Li
  *  1) first release
  /**************************************************
-->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="../../../common.jsp" %>
<%@ taglib uri="/page.util.gs.hitrust.com/taglibs/page" prefix="page"%>
<html>
<head>
<title>非网上订单处理</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<!--<LINK href="<%=root%>/css/css.css" type=text/css rel=stylesheet>-->
<LINK href="<%=root%>/css/caigouxitong.css"" type=text/css rel=stylesheet>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<SCRIPT language="JavaScript" src="<%=root%>/js/calendar.js"></SCRIPT>
<%
	HashMap tMap = (HashMap)request.getAttribute("orderdept");
	ArrayList tOrderDeptList = (ArrayList)tMap.get("organization");
	ArrayList tManuf1 = (ArrayList) request.getAttribute("manufacture1");
	HashMap tMap1 = (HashMap) request.getAttribute("manufacturetyp2");
	HashMap tMap2 = (HashMap) request.getAttribute("manufacturetyp3");
	ResultProcess tOrder = (ResultProcess)request.getAttribute("order");
	ArrayList tList = new ArrayList();
	String [] tStr = null;
	String isRequery  = (String)request.getAttribute("requery");
	GSProviderBean tProviderBean = (GSProviderBean)request.getAttribute("provider");
	String randNum = GenRandNum.genRandNum(10);
%>
<script>
    
	var counter;
	function process(val){
		if(val == 'Q'){
			var tStr = "";
			var tEnd = "";
			if(!isEmpty(ordersubmitnonflatform.orderCreateDateStr.value)){
				tStr = ordersubmitnonflatform.orderCreateDateStr.value.substr(0,4) + ordersubmitnonflatform.orderCreateDateStr.value.substr(5,2) + ordersubmitnonflatform.orderCreateDateStr.value.substr(8,2);

			}
			if(!isEmpty(ordersubmitnonflatform.orderCreateDateEnd.value)){
				tEnd = ordersubmitnonflatform.orderCreateDateEnd.value.substr(0,4) + ordersubmitnonflatform.orderCreateDateEnd.value.substr(5,2) + ordersubmitnonflatform.orderCreateDateEnd.value.substr(8,2);
			}
			if(parseInt(tStr) > parseInt(tEnd)){
					alert("订单创建周期的开始日期不能大于截止日期！");
					return false;
			}
			ordersubmitnonflatform.action = "<%=response.encodeURL(root+"/A150402.do")%>";
    		ordersubmitnonflatform.submit();			
		}else if(val == 'C'){
			ordersubmitnonflatform.orderDetailId.value ="";
			ordersubmitnonflatform.orderDeptId.value="0000";
			ordersubmitnonflatform.manuftype1.value="0";
			ordersubmitnonflatform.providerName.value="";

			var listbox = document.getElementById("deliverGoodsAddrId");
			listbox.length = 0;
			var option = new Option();
			option.text = "---全部---";
			option.value = "0000";
			listbox.options[listbox.length] = option;
			
		    listbox = document.getElementById("manuftype2");
		    listbox.length = 0;
		    var option = new Option();
		    option.text = "---二级---";
		    option.value = "0";
		    listbox.options[listbox.length] = option;
		
	        listbox = document.getElementById("manuftype3");
	        listbox.length = 0;
	        var option = new Option();
	        option.text = "---三级---";
	        option.value = "0";
	        listbox.options[listbox.length] = option;		
	        
			ordersubmitnonflatform.concentricityId.value = "";
			ordersubmitnonflatform.manufInfo.value = "";
			ordersubmitnonflatform.orderCreateDateStr.value = "";
			ordersubmitnonflatform.orderCreateDateEnd.value = "";
			ordersubmitnonflatform.orderDetailStatus.value = "0000";
			return false;		
		}else if(val == 'S'){
			if(pager.orderDetailIds != null){		
				if(!isCheckBoxselected(pager,pager.orderDetailIds)){
	          	    alert("请至少选择一个订单！");
					return false;
				}else{
					if(pager.orderDetailIds.length > 1){
						//alert(pager.orderDetailIds.length);
						for(i=0; i<pager.orderDetailIds.length;i++){
							if(pager.orderDetailIds[i].checked && pager.orderDtlStatus[i].value != '9'){
								alert("请选择状态为'订货中'的订单'");
								return false;
							}
						}
					}else {
						if(pager.orderDetailIds.checked && pager.orderDtlStatus.value != '9'){
								alert("请选择状态为'订货中'的订单'");
								return false;				
						}
					}
					document.pager.orderDetailId.value = document.ordersubmitnonflatform.orderDetailId.value;
					document.pager.providerName.value = document.ordersubmitnonflatform.providerName.value;					
					document.pager.concentricityId.value = document.ordersubmitnonflatform.concentricityId.value;
					document.pager.deliverGoodsAddrId.value = document.ordersubmitnonflatform.deliverGoodsAddrId.value;
					document.pager.orderDeptId.value = document.ordersubmitnonflatform.orderDeptId.value;
					document.pager.manuftype1.value = document.ordersubmitnonflatform.manuftype1.value;
					document.pager.manuftype2.value = document.ordersubmitnonflatform.manuftype2.value;
					document.pager.manuftype3.value = document.ordersubmitnonflatform.manuftype3.value;
					document.pager.manufInfo.value = document.ordersubmitnonflatform.manufInfo.value;
					document.pager.orderCreateDateStr.value = document.ordersubmitnonflatform.orderCreateDateStr.value;																				
					document.pager.orderCreateDateEnd.value = document.ordersubmitnonflatform.orderCreateDateEnd.value;	
					document.pager.orderDetailStatus.value = document.ordersubmitnonflatform.orderDetailStatus.value;																								
					
					if(confirm("是否确定当前订单已安排送货？")){						
						document.pager.action = "<%=response.encodeURL(root+"/A150403.do")%>";			
						document.pager.submit();
					}else{
						return false;
					}			
				}		
			}else{
				return false;
			}	
		}else if(val == 'R'){
				var obj = new Array(14);
				if(document.pager.orderDetailIds != null){
					if(!getCheckedLength(document.pager.orderDetailIds,true)){
					    //alert("请至少选择一个订单！");
						return false;
					}else{
						if (pager.orderDetailIds.length > 1){
							for (i=0;i< pager.orderDetailIds.length;i++){
								if (pager.orderDetailIds[i].checked == true  && pager.orderDtlStatus[i].value == '10'){
									obj[0] = pager.orderDetailIds[i].value;
									obj[1] = pager.orderId[i].value;
									obj[2] = document.ordersubmitnonflatform.orderDetailId.value;	
									obj[3] = document.ordersubmitnonflatform.providerName.value;					
									obj[4] = document.ordersubmitnonflatform.concentricityId.value;
									obj[5] = document.ordersubmitnonflatform.deliverGoodsAddrId.value;
									obj[6] = document.ordersubmitnonflatform.orderDeptId.value;
									obj[7] = document.ordersubmitnonflatform.manuftype1.value;
									obj[8] = document.ordersubmitnonflatform.manuftype2.value;
									obj[9] = document.ordersubmitnonflatform.manuftype3.value;
									obj[10] = document.ordersubmitnonflatform.manufInfo.value;
									obj[11] = document.ordersubmitnonflatform.orderCreateDateStr.value;																				
									obj[12] = document.ordersubmitnonflatform.orderCreateDateEnd.value;	
									obj[13] = document.ordersubmitnonflatform.orderDetailStatus.value;									
								}else if(pager.orderDetailIds[i].checked == true  && pager.orderDtlStatus[i].value != '10'){
									alert("订单状态为'已确认'才可进行收货信息录入");
									return false;							
								}
							}
						}
						else {
							if (pager.orderDetailIds.checked == true && pager.orderDtlStatus.value == '10'){
								obj[0] = pager.orderDetailIds.value;
								obj[1] = pager.orderId.value;	
								obj[2] = document.ordersubmitnonflatform.orderDetailId.value;	
								obj[3] = document.ordersubmitnonflatform.providerName.value;					
								obj[4] = document.ordersubmitnonflatform.concentricityId.value;
								obj[5] = document.ordersubmitnonflatform.deliverGoodsAddrId.value;
								obj[6] = document.ordersubmitnonflatform.orderDeptId.value;
								obj[7] = document.ordersubmitnonflatform.manuftype1.value;
								obj[9] = document.ordersubmitnonflatform.manuftype3.value;
								obj[8] = document.ordersubmitnonflatform.manuftype2.value;
								obj[10] = document.ordersubmitnonflatform.manufInfo.value;
								obj[11] = document.ordersubmitnonflatform.orderCreateDateStr.value;																				
								obj[12] = document.ordersubmitnonflatform.orderCreateDateEnd.value;	
								obj[13] = document.ordersubmitnonflatform.orderDetailStatus.value;													
							}else if(pager.orderDetailIds.checked == true && pager.orderDtlStatus.value != '10'){
									alert("订单状态为'已确认'才可进行收货确认信息录入");
									return false;							
							}
						}					
						if(confirm("是否确定录入收货信息？")){	
							openwin(obj);							
						}else{
							return false;
						}
					}	
				}else{
					return false;
				}
		}
	}
	function openwin(obj){
		var result = null;	
		result = showModalDialog("<%=response.encodeURL(root+"/A150404.do")%>?params=" + obj, window,"status:no;unadorned:no;dialogWidth:900px;dialogHeight:1200px;help:no;");
		if(result != null){
			orderrecsigngoodsform.curOrderId.value= result[0];
			orderrecsigngoodsform.curOrderDetailId.value=result[1];
			orderrecsigngoodsform.devGoodsOrderId.value=result[2];
			orderrecsigngoodsform.signer.value=result[3];
			orderrecsigngoodsform.signCount.value=result[4];
			orderrecsigngoodsform.signDate.value=result[5];
			orderrecsigngoodsform.goodsUnitprice.value=result[6];
			orderrecsigngoodsform.contactPerson.value=result[7];
			orderrecsigngoodsform.contactPhone.value=result[8];	
			//保存查询参数
			orderrecsigngoodsform.orderDetailId.value = document.ordersubmitnonflatform.orderDetailId.value;
			orderrecsigngoodsform.providerName.value = document.ordersubmitnonflatform.providerName.value;					
			orderrecsigngoodsform.concentricityId.value = document.ordersubmitnonflatform.concentricityId.value;
			orderrecsigngoodsform.deliverGoodsAddrId.value = document.ordersubmitnonflatform.deliverGoodsAddrId.value;
			orderrecsigngoodsform.orderDeptId.value = document.ordersubmitnonflatform.orderDeptId.value;
			orderrecsigngoodsform.manuftype1.value = document.ordersubmitnonflatform.manuftype1.value;
			orderrecsigngoodsform.manuftype2.value = document.ordersubmitnonflatform.manuftype2.value;
			orderrecsigngoodsform.manuftype3.value = document.ordersubmitnonflatform.manuftype3.value;
			orderrecsigngoodsform.manufInfo.value = document.ordersubmitnonflatform.manufInfo.value;
			orderrecsigngoodsform.orderCreateDateStr.value = document.ordersubmitnonflatform.orderCreateDateStr.value;																				
			orderrecsigngoodsform.orderCreateDateEnd.value = document.ordersubmitnonflatform.orderCreateDateEnd.value;	
			orderrecsigngoodsform.orderDetailStatus.value = document.ordersubmitnonflatform.orderDetailStatus.value;			
			orderrecsigngoodsform.action = "<%=response.encodeURL(root+"/A150405.do")%>";
			orderrecsigngoodsform.submit();																										
//			process('Q');
			//window.location.href = window.location.href;
			//window.location.reload();
		}
	}
	
	function change(optval){
  		var val = optval;
		if(val=='0000'){
			var listbox = document.getElementById("deliverGoodsAddrId");
			listbox.length = 0;
			var option = new Option();
			option.text = "---全部---";
			option.value = "0000";			
			listbox.options[listbox.length] = option;

		}else{
  	<%
  		if(tMap!=null){
	 	   	Collection tCollection = tMap.keySet();
	        Iterator tIterator = tCollection.iterator();
  		       while(tIterator.hasNext()){
  		           String tKey = (String)tIterator.next();
  		           tList = (ArrayList)tMap.get(tKey);
  	%>
  				if(val == '<%=tKey%>'){
	  				var counter;
	  				var listbox = document.getElementById("deliverGoodsAddrId");
					listbox.length = 0;
					var option = new Option();
					option.text = "---全部---";
					option.value = "0000";			
					listbox.options[listbox.length] = option;			  											
	<%					
						for(int n=0;n<tList.size();n++){
						    tStr = (String[])tList.get(n);
						    String addrId = tStr[0];
						    String addrName = tStr[1];
	%>				
							var temp1 = '<%=addrId%>';
							var temp2 = '<%=addrName%>';
							var option = new Option();
							option.value = temp1;
							option.text = temp2;
							listbox.options[listbox.length] = option;						
	<%
						}
	%>
  				}
  	<%
  		    }
  		       
  		}
  	%>
  		}	
	}			
function change1(optval){
  var val = optval;
  if(val=='0'){
    var listbox = document.getElementById("manuftype2");
    listbox.length = 0;
    var option = new Option();
    option.text = "---二级---";
    option.value = "0";
    listbox.options[listbox.length] = option;
    change2(optval);
  }else{
      var counter="0";
    <%if(tMap1 !=null){
      Collection tCollection = tMap1.keySet();
      Iterator tIterator = tCollection.iterator();
      while(tIterator.hasNext()){
        String tKey = (String)tIterator.next();
        tList = (ArrayList)tMap1.get(tKey);%>
        if(val == '<%=tKey%>'){
		  counter = "1";
          var listbox = document.getElementById("manuftype2");
          listbox.length = 0;
          var option = new Option();
          option.value = "0";
          option.text = "---二级---";
          listbox.options[listbox.length] = option;
          <%
	          	for(int n=0;n<tList.size();n++){
		            GSManufactureCategoryBean tGSManufactureBean = (GSManufactureCategoryBean)tList.get(n);
		            String categoryId = tGSManufactureBean.getGs_manufacture_category_id();
		            String categoryName = tGSManufactureBean.getGs_manufacture_category_name();%>
		            var temp1 = '<%=categoryId%>';
		            var temp2 = '<%=categoryName%>';
		            var option = new Option();
		            option.value = temp1;
		            option.text = temp2;
		            listbox.options[listbox.length] = option;
           <%
	       		}
           %>
			change2('0');           
         }
         
    <%
    	}
    %>
    	if(counter == '0'){
          var listbox = document.getElementById("manuftype2");
          listbox.length = 0;
          var option = new Option();
          option.value = "0";
          option.text = "---二级---";
          listbox.options[listbox.length] = option;  
          change2('0');    	
    	}
    <%  
    }
    %>
   }
}
    function change2(optval){
      var val = optval;
      if(val=='0'){
        var listbox = document.getElementById("manuftype3");
        listbox.length = 0;
        var option = new Option();
        option.text = "---三级---";
        option.value = "0";
        listbox.options[listbox.length] = option;

      }else{
      	var counter = "0";
        <%if(tMap2 !=null){
          Collection tCollection = tMap2.keySet();
          Iterator tIterator = tCollection.iterator();
          while(tIterator.hasNext()){
            String tKey = (String)tIterator.next();
            tList = (ArrayList)tMap2.get(tKey);%>
            if(val == '<%=tKey%>'){
              counter = "1";
              var listbox = document.getElementById("manuftype3");
              listbox.length = 0;
              var option = new Option();
              option.text = "---三级---";
              option.value = "0";
              listbox.options[listbox.length] = option;
              <%for(int n=0;n<tList.size();n++){
                GSManufactureCategoryBean tGSManufactureBean = (GSManufactureCategoryBean)tList.get(n);
                String categoryId = tGSManufactureBean.getGs_manufacture_category_id();
                String categoryName = tGSManufactureBean.getGs_manufacture_category_name();%>
                var temp1 = '<%=categoryId%>';
                var temp2 = '<%=categoryName%>';
                var option = new Option();
                option.value = temp1;
                option.text = temp2;
                listbox.options[listbox.length] = option;
                <%}%>
              }
          <%
          }
          %>
          if(counter == '0'){
		        var listbox = document.getElementById("manuftype3");
		        listbox.length = 0;
		        var option = new Option();
		        option.text = "---三级---";
		        option.value = "0";
		        listbox.options[listbox.length] = option;          
          }
          <%
            }%>
          }
        }	
function afterload()
{
  fileopen("OrderSubmitforNonflat.vts");
 
  //填入内容
<%
    if(tOrder != null && tProviderBean != null) {
	tList = tOrder.getAllRecoreds();
	
	int count = 0;
	int head = 0;
	int tail = 0;
%>
	F1Book1.EntryRC(7,3) = "<%=tProviderBean.getGs_provider_name()%>";
	F1Book1.EntryRC(7,9) = "<%=tProviderBean.getGs_provider_id()%>";
	F1Book1.EntryRC(8,3) = "<%=tProviderBean.getGs_corp_addr()%>";
	F1Book1.EntryRC(9,3) = "<%=tProviderBean.getGs_contact_phone()%>";
	F1Book1.EntryRC(10,3) = "<%=DateUtil.formateDateTime(DateUtil.getCurrentTime("D","AD"))%>";
	F1Book1.EntryRC(10,9) = "<%=randNum%>";
	var listbox = document.getElementById("orderDeptId");
	var listbox2 = document.getElementById("deliverGoodsAddrId");	
	var temp = "";
	var temp2 = "";
	if(listbox.length > 1){
		for(m=0; m < listbox.length; m++){
			if(listbox.options[m].selected){
				temp = listbox.options[m].text;
				break;
			}
		}
	}else{
		temp = listbox.option.text;
	}
	if(listbox2.length > 1){
		for(m=0; m < listbox2.length; m++){
			if(listbox2.options[m].selected){
				temp2 = listbox2.options[m].text;
				break;
			}
		}
	}else{
		temp2 = listbox2.option.text;
	}
	F1Book1.EntryRC(11,3) = temp;
	F1Book1.EntryRC(12,3) = temp2;
<%	
	if(tList != null && tList.size() > 0){
	for(int i=0; i<tList.size(); i++){
	 tStr = (String[])tList.get(i);
%>	  
	  F1Book1.RowHeight(<%=count + 15%>)  = 300;
	  F1Book1.EntryRC ( <%=count + 15%>, 1) = "<%=tStr[0]%>";
	  F1Book1.EntryRC ( <%=count + 15%>, 2) = "<%=tStr[2]%>";
	  F1Book1.EntryRC ( <%=count + 15%>, 3) = "<%=tStr[3]%>";
	  F1Book1.EntryRC ( <%=count + 15%>, 4) = "<%=tStr[5]%>";
	  F1Book1.EntryRC ( <%=count + 15%>, 5) = "<%=tStr[6]%>";
	  F1Book1.EntryRC ( <%=count + 15%>, 6) = "<%=tStr[7]%>";	
	  F1Book1.EntryRC ( <%=count + 15%>, 7) = "<%=tStr[18]%>";		    
	  F1Book1.EntryRC ( <%=count + 15%>, 8) = "<%=tStr[9]%>";
	  F1Book1.EntryRC ( <%=count + 15%>, 9) = "<%=tStr[11]%>";
	  F1Book1.EntryRC ( <%=count + 15%>, 10) = "<%=tStr[12]%>";
	  F1Book1.EntryRC ( <%=count + 15%>, 11) = "<%=tStr[14]%>";
	  F1Book1.EntryRC ( <%=count + 15%>, 12) = "<%=tStr[15]%>";
<%
	count = count +1;	
  }
%>
  
 
   //边界设定
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(7, 1, 12, 12);
  F1CellFormat.BorderStyle(-2) = 1;
  F1CellFormat.BorderStyle(-1) = 1;
  F1CellFormat.BorderStyle(0) = 2;
  F1CellFormat.BorderStyle(1) = 2;
  F1CellFormat.BorderStyle(2) = 2;
  F1CellFormat.BorderStyle(3) = 2;
  F1CellFormat.BorderColor(-2) = 0;
  F1CellFormat.BorderColor(-1) = 0;
  F1CellFormat.BorderColor(0) = 0;
  F1CellFormat.BorderColor(1) = 0;
  F1CellFormat.BorderColor(2) = 0;
  F1CellFormat.BorderColor(3) = 0;
  F1Book1.SetCellFormat(F1CellFormat);
  
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(14,1,<%=count + 14%>,1);
  F1CellFormat.NumberFormat(F1Book1.hWnd) = "###########";
  F1Book1.SetCellFormat(F1CellFormat);
  
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(14,8,<%=count + 14%>,8);
  F1CellFormat.NumberFormat(F1Book1.hWnd) = "############.00";
  F1Book1.SetCellFormat(F1CellFormat);
  
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(14,9,<%=count+14%>,9);
  F1CellFormat.NumberFormat(F1Book1.hWnd) = "############.0000";
  F1Book1.SetCellFormat(F1CellFormat);
  
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(14,10,<%=count+14%>,10);
  F1CellFormat.NumberFormat(F1Book1.hWnd) = "############.0000";  
  F1Book1.SetCellFormat(F1CellFormat);
    
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(14, 1, <%=count + 14%>, 12);
  F1CellFormat.BorderStyle(-2) = 1;
  F1CellFormat.BorderStyle(-1) = 1;
  F1CellFormat.BorderStyle(0) = 2;
  F1CellFormat.BorderStyle(1) = 2;
  F1CellFormat.BorderStyle(2) = 2;
  F1CellFormat.BorderStyle(3) = 2;
  F1CellFormat.BorderColor(-2) = 0;
  F1CellFormat.BorderColor(-1) = 0;
  F1CellFormat.BorderColor(0) = 0;
  F1CellFormat.BorderColor(1) = 0;
  F1CellFormat.BorderColor(2) = 0;
  F1CellFormat.BorderColor(3) = 0;
  F1Book1.SetCellFormat(F1CellFormat);
  
  //设置字体
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(7, 1, <%=count+14%>, 12);
  F1CellFormat.AlignHorizontal = 2;
  F1CellFormat.AlignVertical = 2;
  F1CellFormat.FontName = "宋体";
  F1CellFormat.FontSize = 6;
  F1Book1.SetCellFormat(F1CellFormat);
<%
	}
  }
%>
}

function fileopen(vts)
{
        var mylink=location.href;
        var i=mylink.length;
        while (mylink.substring(i-1,i)!= "/")
        {i--;}
        mylink=mylink.substring(0,i);
        F1Book1.URL = mylink+"jsp/ordersystem/bus/"+vts;
        F1Book1.ShowRowHeading  = false;
        F1Book1.ShowcolHeading  = false;
        F1Book1.Showtabs  = 0;
        F1Book1.ShowEditBar=false;
        F1Book1.EnableProtection=false;
        F1Book1.SetProtection(true,true);
}

function print_bill(){
	afterload();
    F1Book1.FilePrint(true);
}
function control(val){
		if(val == 'requery'){
			<%
				if(isRequery != null && isRequery.equals("true")){
			%>
			ordersubmitnonflatform.action = "<%=response.encodeURL(root+"/A150402.do")%>";
    		ordersubmitnonflatform.submit();			
			<%		
				}
			%>
		}
}
</script>
</head>

<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="control('requery')">
<form name=ordersubmitnonflatform method="get" >
<p><br></p>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td height="20">
			<table width="100%" border="0" cellspacing="0" cellpadding="1">
				<tr height="20">
					<td height="30" width="758" class="mtxt_black">非网上订单明细处理
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td class="bg_line" height="2"></td>
	</tr>
</table>
<br>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr> 
		<td> 
			<table class=bg_table id=tableId	cellspacing=1 cellpadding=0 style="padding-left:5;padding-right:5" width=100% align=center border=0>
				<TR height=20>
					<TD class="bg_column" align=center width="15%">订单明细编号</TD>
					<TD align=left class="bg_row_odd" width="35%">
					<input type="text" name="orderDetailId" value="<%=request.getParameter("orderDetailId")==null? "":request.getParameter("orderDetailId") %>" maxlength="11"></TD>					
					<TD class="bg_column" align=center width="15%">供应商</TD>
					<TD align=left class="bg_row_odd" width="35%">
					<input type="text" name="providerName" value="<%=request.getParameter("providerName")==null? "":request.getParameter("providerName") %>" maxlength="100"></TD>					
				</TR>
				<TR height=20>							
					<TD class="bg_column" align=center>订货单位</TD>
					<TD left=right class="bg_row_odd" >
						<select name="orderDeptId" id="orderDeptId" onChange="change(this.value)">					
						<option value="0000">---全部---</option>
						<%
							String tOrderDept = request.getParameter("orderDeptId");
							if(tOrderDeptList != null && tOrderDeptList.size() > 0 ){	
							    if(tOrderDept != null && tOrderDept.equals("0000")){
									for(int i=0; i<tOrderDeptList.size(); i++){
									    String[] temp = (String[])tOrderDeptList.get(i);
						%>
										<option value="<%=temp[0]%>"><%=temp[1]%></option>						
						<%			    
									}
							    }else{
									for(int i=0; i<tOrderDeptList.size(); i++){
									    String[] temp = (String[])tOrderDeptList.get(i);
										if(tOrderDept != null && tOrderDept.equals(temp[0])){
							%>
											<option value="<%=temp[0]%>" selected>
											<%=temp[1]%></option>
							<%				    
										}else{
							%>
											<option value="<%=temp[0]%>"><%=temp[1]%></option>
							<%			
										}
									}
							    }
							}

						%>

						</select>
					</TD>
					<TD class="bg_column" align="center">送货地址</TD>
					<TD align=left class="bg_row_odd">
						<select name="deliverGoodsAddrId" id="deliverGoodsAddrId">	
						<option value="0000">---全部---</option>
						<%
							String tDeliverGoodsAddrId = request.getParameter("deliverGoodsAddrId");
						    if(tOrderDept!=null && !tOrderDept.equals("0000")){
							    	ArrayList tDeliverGoodsAddr = (ArrayList)tMap.get(tOrderDept);
									for(int i=0; i<tDeliverGoodsAddr.size(); i++){
									    String[] temp = (String[])tDeliverGoodsAddr.get(i);
										if(tDeliverGoodsAddrId != null && tDeliverGoodsAddrId.equals(temp[0])){
							%>
											<option value="<%=temp[0]%>" selected>
											<%=temp[1]%></option>
							<%				    
										}else{
							%>
											<option value="<%=temp[0]%>"><%=temp[1]%></option>
							<%			
										}
									}
							    }
						%>
						</select>					
					</TD>						
				</TR>							
				<TR height=20>
					<TD class="bg_column" align=center>集中编码</TD>
					<TD align=left class="bg_row_odd">
					<input type="text" name="concentricityId" maxlength="20" value="<%=request.getParameter("concentricityId")==null?"":request.getParameter("concentricityId")%>">
					</TD>
					<TD class="bg_column" align=center width="15%">订单明细状态</TD>
					<TD align=left class="bg_row_odd" width="35%">
						<select name="orderDetailStatus">					
						<option value="0000">---全部---</option>
						<%
							String tOrderDetailStatus = request.getParameter("orderDetailStatus");
							String[][] tDetailStatus = GSBaseManager.getAllBusOrderDetailStatusForSubmit();
							if(tDetailStatus != null && tDetailStatus.length > 0 ){
								for(int i=0; i<tDetailStatus.length; i++){
									String[] temp = tDetailStatus[i];
									if(tOrderDetailStatus != null && tOrderDetailStatus.equals(temp[0])){
						%>
										<option value="<%=temp[0]%>" selected>
										<%=temp[1]%></option>
						<%				    
									}else{
						%>
										<option value="<%=temp[0]%>" >
										<%=temp[1]%></option>
						<%			
									}
								}
							}
						%>
						</select>
					</TD>						
				</TR>	
				<TR height=20>
					<TD class="bg_column" align=center>产品信息</TD>
					<TD align=left class="bg_row_odd" colspan="3">
					<input type="text" name="manufInfo" maxlength="200" value="<%=request.getParameter("manufInfo")==null?"":request.getParameter("manufInfo")%>">（<FONT color="#ff0033">对产品名称、型号、规格、品牌、生产厂商、附加属性等关键字的模糊查询</FONT>）&nbsp;
					</TD>
				</TR>						
				<TR height=20>							
					<TD class="bg_column" align=center>产品分类</TD>
					<TD left=right class="bg_row_odd" colspan="3">
				      <select name="manuftype1" onChange="change1(this.value)">
				        <option value="0">---一级---</option>
				        <%
				        String tManufType1 = request.getParameter("manuftype1");
				        if (tManuf1 != null && tManuf1.size() > 0) {
				          for (int i = 0; i < tManuf1.size(); i++) {
				            GSManufactureCategoryBean tGSManufactureBean = (GSManufactureCategoryBean) tManuf1.get(i);
				            if (tManufType1 != null && tManufType1.equals(tGSManufactureBean.getGs_manufacture_category_id())) {
				              %>
				              <option value="<%=tGSManufactureBean.getGs_manufacture_category_id()%>" selected><%=tGSManufactureBean.getGs_manufacture_category_name()%>        </option>
				              <%} else {      %>
				              <option value="<%=tGSManufactureBean.getGs_manufacture_category_id()%>"><%=tGSManufactureBean.getGs_manufacture_category_name()%>        </option>
				              <%
				              }
				            }
				          }
				          %>
				      </select>
				      <select id="manuftype2" name="manuftype2" onChange="change2(this.value)">
				        <option value="0">---二级---</option>
				        <%
				        String tManufType2 = request.getParameter("manuftype2");
				        if (tManufType1 != null && !tManufType1.equals("0")) {
				          ArrayList temp = (ArrayList) tMap1.get(tManufType1);
				          if (temp != null && temp.size() > 0) {
				            for (int i = 0; i < temp.size(); i++) {
				              GSManufactureCategoryBean tGSManuf2 = (GSManufactureCategoryBean) temp.get(i);
				              if (tManufType2 != null && tManufType2.equals(tGSManuf2.getGs_manufacture_category_id())) {
				                %>
				                <option value="<%=tManufType2%>" selected><%=tGSManuf2.getGs_manufacture_category_name()%>        </option>
				                <%} else {      %>
				                <option value="<%=tGSManuf2.getGs_manufacture_category_id()%>"><%=tGSManuf2.getGs_manufacture_category_name()%>        </option>
				                <%
				                }
				              }
				            }
				          }
				          %>
				      </select>
				      <select name="manuftype3" id="manuftype3">
				        <option value="0">---三级---</option>
				        <%
				        String tManufType3 = request.getParameter("manuftype3");
				        if (tManufType2 != null && !tManufType2.equals("0")) {
				          //int tIntManufType3 = Integer.parseInt(tManufType3);
					            ArrayList temp = (ArrayList) tMap2.get(tManufType2);
					            if (temp != null && temp.size() > 0) {
					            for (int i = 0; i < temp.size(); i++) {
					              GSManufactureCategoryBean tGSManuf3 = (GSManufactureCategoryBean) temp.get(i);
					              if (tManufType3 != null && tManufType3.equals(tGSManuf3.getGs_manufacture_category_id())) {
					                %>
					                <option value="<%=tGSManuf3.getGs_manufacture_category_id()%>" selected><%=tGSManuf3.getGs_manufacture_category_name()%>        </option>
					                <%} else {      %>
					                <option value="<%=tGSManuf3.getGs_manufacture_category_id()%>"><%=tGSManuf3.getGs_manufacture_category_name()%>        </option>
					                <%
					                }
					              }
					            }
				          }
				          %>
				      </select>					
					</TD>
				</TR>
                <%
                SimpleDateFormat bartDateFormat = new SimpleDateFormat("yyyy-MM-dd");
                Date d = new Date();
                String strNow = String.valueOf(bartDateFormat.format(d));
                long l=(long)259200*(long)10000;
                Date d2 = new Date(System.currentTimeMillis()-l);
                String strMothAgo = String.valueOf(bartDateFormat.format(d2));
                
                %>  																						
				<TR height=20>	
					<TD class="bg_column" align=center>创建时间</TD>
					<TD align=left class="bg_row_odd" colspan="3">
					<input type="text"	name="orderCreateDateStr" value="<%=request.getParameter("orderCreateDateStr")==null?strMothAgo:request.getParameter("orderCreateDateStr")%>" length="20" onfocus="setday(this)" readonly> 
					～<input type="text"	name="orderCreateDateEnd" length="20" value="<%=request.getParameter("orderCreateDateEnd")==null?strNow:request.getParameter("orderCreateDateEnd")%>" onfocus="setday(this)" readonly>
					</TD>
				</TR>
            <%
            int totalRecords = 0;
            if(tOrder != null) {
                if(request.getAttribute("totalRecords")!=null){
                    totalRecords=Integer.parseInt((String)request.getAttribute("totalRecords"));
                }
                int defaultPageSize =10;
                if(request.getAttribute("pageSize")!=null){
                    defaultPageSize=Integer.parseInt((String)request.getAttribute("pageSize"));
                }
                tList=tOrder.getAllRecoreds();
            %>          
            <page:pager total='<%=totalRecords%>' defaultPageSize='<%=defaultPageSize%>'>
            </page:pager>
            <%} %>
			</table>
		</td>
	</tr>
</table>
</form>
    <p align="center">  
<!--		<input type="image" src="< %=response.encodeURL(root+"/images/button/chaxun.gif")%>" width="58" height="24" class="box" onclick="process('Q')"/>&nbsp;-->
<!--		<input type="image" src="< %=response.encodeURL(root+"/images/button/clean.gif")%>" width="58" height="24" class="box" onclick="process('C')"/>&nbsp;				-->
		<input type="button" name="查询" value="查询" class="kuang" onclick="process('Q')"/>&nbsp;
		<input type="button" name="清空" value="清空" class="kuang" onclick="process('C')"/>&nbsp;				
    </p>
<%
	
	if(tOrder != null){
%>
	<center>
    <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
            <form name='pager' method="post">
		    <input type="hidden" name="orderDetailId">
		    <input type="hidden" name="providerName">
		    <input type="hidden" name="manuftype1">
		    <input type="hidden" name="manuftype2">	    	    	    
		    <input type="hidden" name="manuftype3">	    
		    <input type="hidden" name="orderDeptId">            
		    <input type="hidden" name="deliverGoodsAddrId"> 	
		    <input type="hidden" name="concentricityId"> 
		    <input type="hidden" name="manufInfo"> 
		    <input type="hidden" name="orderCreateDateStr"> 
		    <input type="hidden" name="orderCreateDateEnd">  		
		    <input type="hidden" name="orderDetailStatus">     
		    <input type="hidden" name="deliverGoodsId">
            	<table class=bg_table id=tableId cellspacing=1 cellpadding=2 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column" height=20>
                        <td class=top align=middle colspan="18"> 
                        <div align="center" class="txt_content"><b>订单明细列表</b>
                    	  </div>
						</td>					
					</tr> 
				    <tr class="bg_column" height="20">
				      <td class="top" align="right" colSpan="18">共<%=totalRecords%>笔待提交订单明细</td>
				    </tr>					
                    <tr class="bg_column" height=20> 
						<td align=middle class=top>
						<div class="txt_content">全选<input type="checkbox" name="indexs" onClick="SelectAllCheckBox(pager,'orderDetailIds')"></div>
						</td> 
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订单明细编号</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订单明细状态</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">集中编码</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品名称</div>
						</td>
						<td class="top" align="center">
						  <div class="txt_content" align="center">是否网上产品</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">规格</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">型号</div>
						</td>																																				
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">品牌</div>
						</td>											
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">供应商</div>
						</td>							
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订货数量</div>
						</td>																					
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">价格（元）</div>
						</td>										
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">总价（元）</div>
						</td>											
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订货单位</div>
						</td>																							
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">送货日期</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">送货时间</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">结算模式</div>
                        </td>																		
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">详细信息</div>
						</td>																																				
					</tr>
					<%
						
						if(tList != null && tList.size() > 0){
						for(int i=0; i<tList.size(); i++){
							tStr = (String[])tList.get(i);
							String tTempStr="";
							if(i%2==0){
								tTempStr="class=\"bg_row_odd\"";
							}else {
								tTempStr="class=\"bg_row_even\"";
							}
					%>
							<tr <%=tTempStr%> height=20>
								<td class=top> 								
									<div align="center" class="txt_content">
										<input type="checkbox" name="orderDetailIds" value="<%=tStr[0]%>">
										<input type="hidden" name="orderDtlStatus" value="<%=tStr[1]%>">	
										<input type="hidden" name="orderDtlTempIds">													
										<input type="hidden" name="orderId" value="<%=tStr[17]%>">																															
									</div>
								</td>								
								<td class=top align=middle> 								
									<div align="center" class="txt_content">
									<%=tStr[0]%>
									</div>
								</td>	
								<td class=top align=middle> 								
									<div align="center" class="txt_content">
									<%=GSBaseManager.getOrderDetailStatusName(tStr[1])%>
									</div>
								</td>									
								<td class=top align=middle> 								
									<div align="center" class="txt_content">
									<%=tStr[2]%>
									</div>
								</td>														
								<td class=top align=middle > 								
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root+"/A150103.do")%>?&concentricityId=<%=tStr[2]%>" target="_blank"><%=tStr[3]%></a>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=GSBaseManager.getIsTradeManuf(tStr[4])%>
									</div>
								</td>															
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[5]%>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[6]%>
									</div>
								</td>				
								<td class=top align=middle> 								
									<div align="center" class="txt_content">
									<%=tStr[7]%>
									</div>
								</td>													
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root +"/A400108.do?providerId="+tStr[16])%>" target="_blank"><%=tStr[8]%></a>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[9]%><%=tStr[10]%>
									</div>
								</td>																									
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[11]%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[12]%>
									</div>
								</td>															
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[13]%>
									</div>
								</td>			
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[14]%>
									</div>
								</td>															
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[15]%>
									</div>
								</td>
                                <td class=top align=middle> 
                                    <div align="center" class="txt_content">
                                    <%=DefineDic.getBalanceMode(tStr[19])%>
                                    </div>
                                </td>																		
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root+"/A150406.do")%>?orderId=<%=tStr[17]%>&orderDetailId=<%=tStr[0]%>" target="_blank">详细</a>
									</div>
								</td>																																								
							</tr> 
					<%
						}
					%>
						  <tr class="bg_column" height=20>
						    <td width="960" height="16" colspan="18" align="right">
									<!--导航条-->
						    		<page:navigator type='text' queryForm='ordersubmitnonflatform'/>
						    </td>
						  </tr>					
				    <%
						}else{
					%>
							<font color="red">没有符合条件的订单信息</font>
					<%
						}
					%>
					</tbody>
				</table>
				<br>
				<font color = "red">若您要执行打印操作,请务必在查询条件栏输入明确的供应商,订货单位,送货地址以及订单明细状态为'已核准'进行查询</font>
				</form>					  
			</td>
		</tr>
	</table>
	</center>
	<p align="center">  
<!--    <input type="image" src="<%=response.encodeURL(root+"/images/button/tijiao.gif")%>" onclick="process('T')">&nbsp;-->
<!--		<input type="button" class="kuang" name="打印" value="打印" onclick="if(confirm('是否确定打印？')) print_bill(); else return false;"/>&nbsp;-->
		<input type="button" class="kuang" name="打印" value="打印" onclick="print()"/>
		<input type="button" class="kuang" name="已安排送货" value="已安排送货" onClick="process('S')">
		<input type="button" class="kuang" name="录入收货确认信息" value="录入收货确认信息" onClick="process('R')">				
    </p>	
<%		
	}
	if(tOrder == null && isRequery != null && isRequery.equals("true")){
%>
	<font size="2">数据查询中......</font>
<%	
	}	
%>	
<form name="orderrecsigngoodsform" method="post">
	<input type="hidden" name="curOrderId" >
	<input type="hidden" name="curOrderDetailId" >
	<input type="hidden" name="devGoodsOrderId" >
	<input type="hidden" name="signer" >
	<input type="hidden" name="signCount" >
	<input type="hidden" name="signDate" >
	<input type="hidden" name="goodsUnitprice" >						
	<input type="hidden" name="contactPerson" >
	<input type="hidden" name="contactPhone" >		
    <input type="hidden" name="orderDetailId">
    <input type="hidden" name="providerName">
    <input type="hidden" name="manuftype1">
    <input type="hidden" name="manuftype2">	    	    	    
    <input type="hidden" name="manuftype3">	    
    <input type="hidden" name="orderDeptId">            
    <input type="hidden" name="deliverGoodsAddrId"> 	
    <input type="hidden" name="concentricityId"> 
    <input type="hidden" name="manufInfo"> 
    <input type="hidden" name="orderCreateDateStr"> 
    <input type="hidden" name="orderCreateDateEnd">  		
    <input type="hidden" name="orderDetailStatus">     
    <input type="hidden" name="deliverGoodsId">	
</form>
<script>
	function print(){
		if(isEmpty(ordersubmitnonflatform.providerName.value)){		
			alert("请输入供应商作为查询条件!");
			return false;
		}
		if(ordersubmitnonflatform.orderDeptId.value == '0000'){		
			alert("请选择订货单位作为查询条件!");
			return false;			
		}		
		if(ordersubmitnonflatform.deliverGoodsAddrId.value == '0000'){		
			alert("请选择送货地址作为查询条件!");
			return false;			
		}				
		if(ordersubmitnonflatform.orderDetailStatus.value != '7'){
			alert("请选择订单明细状态为'已核准'作为查询条件!");
			return false;			
		}
		if(pager.orderDetailIds.length > 1){
			for(i=0; i<pager.orderDetailIds.length;i++){
				pager.orderDetailIds[i].checked = true;
				pager.orderDetailIds[i].disabled = true;
				pager.orderDtlTempIds[i].value = pager.orderDetailIds[i].value;
			}
		}else{
			pager.orderDetailIds.checked = true;
			pager.orderDetailIds.disabled = true;
			pager.orderDtlTempIds.value = pager.orderDetailIds.value;
		}
		
		if(confirm('是否确定打印？')) {
			print_bill();			
			if(confirm('是否已成功打印订单?')){
				document.pager.orderDetailId.value = document.ordersubmitnonflatform.orderDetailId.value;
				document.pager.providerName.value = document.ordersubmitnonflatform.providerName.value;					
				document.pager.concentricityId.value = document.ordersubmitnonflatform.concentricityId.value;
				document.pager.deliverGoodsAddrId.value = document.ordersubmitnonflatform.deliverGoodsAddrId.value;
				document.pager.orderDeptId.value = document.ordersubmitnonflatform.orderDeptId.value;
				document.pager.manuftype1.value = document.ordersubmitnonflatform.manuftype1.value;
				document.pager.manuftype2.value = document.ordersubmitnonflatform.manuftype2.value;
				document.pager.manuftype3.value = document.ordersubmitnonflatform.manuftype3.value;
				document.pager.manufInfo.value = document.ordersubmitnonflatform.manufInfo.value;
				document.pager.orderCreateDateStr.value = document.ordersubmitnonflatform.orderCreateDateStr.value;																				
				document.pager.orderCreateDateEnd.value = document.ordersubmitnonflatform.orderCreateDateEnd.value;	
				document.pager.orderDetailStatus.value = document.ordersubmitnonflatform.orderDetailStatus.value;				
				pager.deliverGoodsId.value = "<%=randNum%>";
				pager.action = "<%=response.encodeURL(root+"/A150407.do")%>";
				pager.submit();
			}else{
				return false;
			}
//			window.open("<%=response.encodeURL(root+"/jsp/ordersystem/bus/provider.jsp")%>");
		}else{
			if(pager.orderDetailIds.length > 1){
				for(i=0; i<pager.orderDetailIds.length;i++){
					pager.orderDetailIds[i].disabled = false;
				}
			}else{
				pager.orderDetailIds.disabled = false;
			}		
			return false;
		}
	}
</script>
<OBJECT
ID="F1Book1"
CLASSID="clsid:B0475003-7740-11D1-BDC3-0020AF9F8E6E"
CODEBASE="/activex/setup.exe"
WIDTH = 0
HEIGHT = 0
ALIGN = center
>
<param name="_ExtentX" value="18336">
<param name="_ExtentY" value="8837">
<param name="_0" value=")A)@#-@*?*?@@@@J@*uB@@)NA@@D@@P@@*BF@@I@FE@F@@@+nDPF@@+oT@@@*?@@*?*?@@.????????3?.}R@@@@*[h*RSx@@@@@A@)XBNA@qU+H@@@*??*PA@@@@*F@E@)A2)i!)lqU+H@@@*??*|B@@@@*F@E@)A2)i!)lqU+H@B@*??*PA@@@@*F@E@)A2)i!)lqU+H@B@*??*|B@@@@*F@E@)A2)i!)lqU+H@@@*??*PA@@@@*F@E@)A2)i!)l^kE@S@Ab@*%*?b@c@l@c@c@p@{@b@*%*?b@(1C@m@c@l@c@c@p@^uF@X@Ab@*%*?b@c@l@c@c@p@{@)[@)R@%@$@)]@b@*%*?b@(1C@m@c@l@c@c@p@^wG@Y@Ab@*%*?b@c@l@c@c@p@n@p@p@{@b@*%*?b@(1C@m@c@l@c@c@p@n@p@p@^)AH@^@Ab@*%*?b@c@l@c@c@p@n@p@p@{@)[@)R@%@$@)]@b@*%*?b@(1C@m@c@l@c@c@p@n@p@p@^)Qj@f@Ab@*%*?b@j@`@)_@m@c@l@c@c@p@{@b@*%*?b@j@`@(1C@m@c@l@c@c@p@{@b@*%*?b@j@`@)_@m@b@m@b@{@)@@^^i@Y@@j`clccp{j`(1Cmclccp{j`bmb{)@^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